export const FormBpmMixin = {
  props: {
    fks: Array,
  },
  methods: {
    add () {
      this.$nextTick(() => {
        this.$refs.form.add(this.fks)
      })
    },
    detail () {
      this.$nextTick(() => {
        this.$refs.form.detail(this.formId)
      })
    },
    save (func, processDefId) {
      this.$refs.form.save(func, processDefId)
    }
  }
}